package com.api.manage.pojo.system;

import com.api.manage.base.PageBean;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.time.LocalDate;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import com.api.manage.pojo.content.CmsTypeBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 地理位置设置
 * </p>
 *
 * @author 腾木
 * @since 2023-12-18
 */
@Data
@NoArgsConstructor
@ApiModel(value="SysRegion对象", description="城市区域")
public class SysRegionBean extends PageBean implements Serializable {
    private static final long serialVersionUID=20231218101905221L;
    @ApiModelProperty(value = "区域")
    private Long sysRegionId;

    @ApiModelProperty(value = "父id")
    private Long parentId;

    @ApiModelProperty(value = "code代码")
    private String code;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "简称")
    private String shortName;

    @ApiModelProperty(value = "类型：1-省份 2-城市 3-区县 4-街道")
    private Integer type;

    @ApiModelProperty(value = "路径")
    private String regionPath;

    @ApiModelProperty(value = "路径名称")
    private String regionPathName;

    @ApiModelProperty(value = "电话区号")
    private String telCode;

    @ApiModelProperty(value = "父节点")
    private String parentCode;

    @ApiModelProperty(value = "经度")
    private String longitude;

    @ApiModelProperty(value = "纬度")
    private String latitude;

    @ApiModelProperty(value = "排序-降序")
    private Integer sort;

    @ApiModelProperty("子节点")
    private List<SysRegionBean> children = new ArrayList<>();
}
